import type { Router } from 'vue-router';
import { createAuthGuard } from './auth';

/**
 * Router guard
 *
 * @param router - Router instance
 */
export function createRouterGuard(router: Router) {
  createAuthGuard(router);
}
